package com.huike.review.service;

import com.huike.common.core.domain.AjaxResult;
import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;
import java.util.*;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    public int saveData(String name,Integer age,String sex);

    public int saveData(Review review);

    public int update(Review review);

    public int remove(Long id);

    public Review getById(Long id);

    public List<Review> getDataByPage(int pageNum, int pageSize);
}
